<template>
  <div>
    <swiper class="detailswiper">
      <swiper-item v-for="item in banners">
        <img :src="item" alt="">
      </swiper-item>
    </swiper>
  </div>
</template>

<script>
  import {Swiper,SwiperItem} from "../../../components/common/swiper/index.js"
  export default{
    components:{
      Swiper,SwiperItem
    },
    props:{
      banners:{
        type:Array,
        default(){
          return []
        }
      }
    }
  }
</script>

<style scoped="scoped">
  .detailswiper{
    height: 300px;
    overflow: hidden;
  }

</style>
